package com.lfnyxy.dao.org;


import com.lfnyxy.entity.org.AppMaintenanceEntity;
import com.lfnyxy.query.org.AppMaintenanceQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface AppMaintenanceDao {
    int CreateItem(AppMaintenanceEntity entity);

    int UpdateItem(AppMaintenanceEntity entity);

    List<AppMaintenanceEntity> QueryPageList(AppMaintenanceQuery query);

    List<AppMaintenanceEntity> QueryAll();

    int QueryPageListCount(AppMaintenanceQuery query);

    int CheckIsExist(AppMaintenanceEntity entity);

    AppMaintenanceEntity QueryItem(int Id);

    int DeleteItem(int Id);
}